import Mock from 'mockjs';
//将json数据格式引进来
import banner from './banner.json';
import floor from './floor.json';

// mock (请求地址，请求数据)
Mock.mock('/mock/banner', { code: 200, data: banner })  //模拟轮播图
Mock.mock('/mock/floor', { code: 200, data: floor })
 